<?php
    // don't forget about this for custom templates, or errors will not show for server-side validation
    // $error is the name of the variable used with the set_rule method
    echo (isset($error) ? $error : '');
?>
<div class="row">
    <div class="cell"><?php echo $label_codigo . $codigo?></div>
    <div class="cell"><?php echo $label_nombre . $nombre?></div>
    <div class="clear"></div>
</div>
<?php
if ( isset ($label_precio) && isset ($label_tiempo) && isset ($label_holgura) ){ ?>
<div class="row">
    <div class="cell"><?php echo $label_precio . $precio?></div>
    <div class="cell"><?php echo $label_tiempo . $tiempo?></div>
    <div class="cell"><?php echo $label_holgura . $holgura?></div>
    <div class="clear"></div>
</div>
<?php }?>
<div class="row">
    <?php echo $label_desc . $desc?>
</div>
<div class="row even last">
    <?php echo $btnsubmit?>
</div>